<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>        
       let reg=/^1[0-9]{10}$/;
       alert(reg.test("13777892063a"));
        
    </script>
</head>
<body>
    
</body>
</html>